Functions that Compose and Invert Maps

Map Inv(void)

Inverts this map. Only legal if the map is invertible.

Map Compose(Map& m)

Composes this map with the map m and returns the result. The range of map m, which is applied first, must be a subset of the domain of this map. Only valid if the two maps are the same type (e.g. both affine).

ProjectiveMap ComposeProj(Map& m)

Compose affine and projective maps to form a projective map. Any affine maps are first converted to projective maps using the following InducedProjective() function.